package top.zsc.cloud.demo.system.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import top.zsc.cloud.demo.system.service.DemoClientService;

import javax.annotation.Resource;

@Api(tags = "测试接口")
@RestController
public class DemoClientController {
    @Resource
    private DemoClientService deptClientService;

    @ApiOperation("获得服务端口")
    @GetMapping("getServicePort")
    public String getServicePort() {
        return deptClientService.getServicePort();
    }


}
